<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    console.log(10 > 8)  // true
    console.log(10 < 8)  // false
    
    console.log(10 <= 10)  // true
    console.log(10 >= 10)  // true

    // == 比较两个值是否相同，会发生隐士类型转换
    // === 即比较值是否相同，也比较类型是否相同
    console.log( 10 === '10' )  // false
  </script>
</body>
</html>